package com.ruoyi.customer.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 点评信息记录业务对象 t_comment_record
 *
 * @author ruoyi
 * @date 2023-10-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TCommentRecordBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 客户ID
     */
    //@NotNull(message = "客户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long customerId;

    /**
     * 用户ID
     */
    //@NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 内容
     */
    //@NotBlank(message = "内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 通知时间
     */
    //@NotNull(message = "通知时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date noticeTime;

    /**
     * 1 已处理  0 未处理
     */
    //@NotNull(message = "1 已处理  0 未处理不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isOpen;

    /**
     * 创建者id
     */
    //@NotNull(message = "创建者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long createId;

    /**
     * 状态
     */
    //@NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 客户姓名
     */
    //@NotBlank(message = "客户姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customerName;

    /**
     * 用户名称
     */
    //@NotBlank(message = "用户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userName;

    /**
     * 客户电话
     */
    //@NotBlank(message = "客户电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customerTel;


}
